package cn.hackcloud.netty.codec.msgpack;

import org.msgpack.annotation.Message;

/**
 * java序列化对比
 * 
 * @author Administrator
 *
 */
@Message
public class UserInfo {
	private String userName;
	private int userId;

	public UserInfo() {
		super();
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public UserInfo(String userName, int userId) {
		super();
		this.userName = userName;
		this.userId = userId;
	}

}
